package cn.topkinson.es.etl.entity.es;

import java.util.Map;

public class UpdateDto {

    private IndexEnum indexEnum;

    private String id;

    private Map<String, Object> data;

    public UpdateDto(IndexEnum indexEnum, String id, Map<String, Object> data) {
        this.indexEnum = indexEnum;
        this.id = id;
        this.data = data;
    }

    public IndexEnum getIndexEnum() {
        return indexEnum;
    }

    public void setIndexEnum(IndexEnum indexEnum) {
        this.indexEnum = indexEnum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }
}
